<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8" />
  <meta name="renderer" content="webkit" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0" />
  <link rel="shortcut icon" href="/favicon.ico" />
  <link rel="stylesheet" href="/assets/css/layout-base.css" />
  <link rel="stylesheet" href="/assets/css/manage/base.css" />
  <link rel="stylesheet" href="/assets/plugins/layui/css/layui.css" />
</head>

<body class="virens-layout-container">
  <div class="virens-layout">
    <form class="layui-form" action="save.json?oper=create" lay-filter="mOtherBannerForm">
      <div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="image">
        <label class="layui-form-label">图片地址：</label>
        <div class="layui-input-block" id="form-image"></div>
      </div>
    </form>
  </div>
  <script src="/assets/plugins/jquery/3.3.1/jquery.min.js"></script>
  <script src="/assets/plugins/layui/layui.js"></script>
  <script>
    layui.extend({
      http: 'http/http.min',
      message: 'message/message.min',
      aliyun_oss: 'aliyun_oss/aliyun_oss.min'
    }).use(['aliyun_oss', 'message', 'http'], function () {
      var formImages = layui.aliyun_oss.render(document.getElementById('form-image'), {
        cdn: 'http://cdn.yddrq.com/',
        path: 'iamges/wap/home/',
        mimeType: 'image/*',
        limit: 1
      });

    });
  </script>
</body>

</html>